package com.parenting.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 宝宝认证
 * </p>
 *
 * @author zcj
 * @since 2021-05-12
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "ShopperChildResponse对象", description = "宝宝认证")
public class ShopperChildResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "宝宝的名字")
    private String childName;

    @ApiModelProperty(value = "宝宝的性别")
    private String childSex;

    @ApiModelProperty(value = "宝宝的生日")
    private LocalDate childBirthday;

    @ApiModelProperty(value = "出生多久")
    private Long howLongWasBorn;

    @ApiModelProperty(value = "宝宝的身份证")
    private String childCard;

    @ApiModelProperty(value = "认证状态 0:未通过1:信息不全2:审核中3:认证通过")
    private Integer status;

    @ApiModelProperty(value = "认证失败的原因")
    private String certFail;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;


}
